<?php if (!defined('TL_ROOT')) die('You can not access this file directly!');

$GLOBALS['TL_HOOKS']['generatePage'][] = array('ModuleFrontendEdit', 'newgeneratePage');
//$GLOBALS['TL_HOOKS']['getContentElement'][] = array('ModuleFrontendEdit', 'myGetContentElement');
$GLOBALS['TL_HOOKS']['parseFrontendTemplate'][] = array('ModuleFrontendEdit', 'myParseFrontendTemplate');

//$GLOBALS['TL_CTE']['includes']['form'] = 'm17Joe';
foreach($GLOBALS['TL_CTE'] as $ceGroup=>$bla)
{
    //ec
    foreach($bla as $ceIdent=>$class)
    {
        //echo $ceGroup;
        //$GLOBALS['TL_CTE'][$ceGroup][$ceIdent] = 'm17Joe';
    }
}

if (TL_MODE == 'BE')
{
    $GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/m17FrontendEdit/js/be_FrontendFeatures.js';
}